/*********************************************************
 *********************************************************
 ********************                  *******************
 *************                                ************
 *******                  _oo0oo_                  *******
 ***                     o8888888o                     ***
 *                       88" . "88                       *
 *                       (| -_- |)                       *
 *                       0\  =  /0                       *
 *                     ___/`---'\___                     *
 *                   .' \\|     |// '.                   *
 *                  / \\|||  :  |||// \                  *
 *                 / _||||| -:- |||||- \                 *
 *                |   | \\\  -  /// |   |                *
 *                | \_|  ''\---/''  |_/ |                *
 *                \  .-\__  '-'  ___/-. /                *
 *              ___'. .'  /--.--\  `. .'___              *
 *           ."" '<  `.___\_<|>_/___.' >' "".            *
 *          | | :  `- \`.;`\ _ /`;.`/ - ` : | |          *
 *          \  \ `_.   \_ __\ /__ _/   .-` /  /          *
 *      =====`-.____`.___ \_____/___.-`___.-'=====       *
 *                        `=---='                        *
 *      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      *
 *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
 *********************************************************/
package org.jbase.jbsc.commons.core.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Project: jbsc-commons <br/>
 * File: FileUploadResult.java <br/>
 * Class: org.jbase.jbsc.commons.base.vo.FileUploadResult <br/>
 * Description: <描述类的功能>. <br/>
 * Copyright: Copyright (c) 2011 <br/>
 * Company: https://gitee.com/liuzp315 <br/>
 * Makedate: 2020/9/17 下午12:05 <br/>
 *
 * @author popo
 * @version 1.0
 * @since 1.0
 */
@ApiModel(description = "文件上传结果")
public class FileUploadResult {

    @ApiModelProperty("上传的原文件名")
    private String sourceFileName;
    @ApiModelProperty("文件的相对路径")
    private String filePath;
    @ApiModelProperty("文件完整的访问URL")
    private String fullUrl;
    @ApiModelProperty("文件大小")
    private String size = "";
    @ApiModelProperty("带单位的文件大小")
    private String printSize = "";

    public FileUploadResult() {
    }

    public FileUploadResult(String sourceFileName, String filePath, String fullUrl, String size, String printSize) {
        this.sourceFileName = sourceFileName;
        this.filePath = filePath;
        this.fullUrl = fullUrl;
        this.size = size;
        this.printSize = printSize;
    }

    public FileUploadResult(String sourceFileName, String filePath, String fullUrl) {
        this.sourceFileName = sourceFileName;
        this.filePath = filePath;
        this.fullUrl = fullUrl;
    }

    public String getSourceFileName() {
        return sourceFileName;
    }

    public FileUploadResult setSourceFileName(String sourceFileName) {
        this.sourceFileName = sourceFileName;
        return this;
    }

    public String getFilePath() {
        return filePath;
    }

    public FileUploadResult setFilePath(String filePath) {
        this.filePath = filePath;
        return this;
    }

    public String getFullUrl() {
        return fullUrl;
    }

    public FileUploadResult setFullUrl(String fullUrl) {
        this.fullUrl = fullUrl;
        return this;
    }

    public String getSize() {
        return size;
    }

    public FileUploadResult setSize(String size) {
        this.size = size;
        return this;
    }

    public String getPrintSize() {
        return printSize;
    }

    public FileUploadResult setPrintSize(String printSize) {
        this.printSize = printSize;
        return this;
    }
}
